<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网页布局</title>
    <style>
        .container{
           display: flex;
           width: 500px;
        }
        .box{
            width: 100px;
            height: 100px;
            background-color:azure;
            border: 1px solid gray;
            margin: 20px;
            padding: 5px;
    
        }
        </style>
</head>
<body>
    <div class="container">
        <div class="box">第一个div</div>
        <div class="box">第二个div</div>
    </div>
</body>
</html>